package cn.lg.soar.cms.biz.modules.other.service;

import cn.lg.soar.cms.biz.modules.other.entity.BlockItem;
import cn.lg.soar.cms.biz.modules.other.model.BlockItemVo;
import cn.lg.soar.database.base.service.IBaseService;

import java.util.Collection;
import java.util.List;

/**
 * 页面元素内容
 * @author luguoxiang
 * @since 2025-02-23
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface BlockItemService extends IBaseService<BlockItem> {

    /**
     * 根据位置id获取
     * @param blockId
     * @param limit
     * @return
     */
    List<BlockItemVo> voListByBlockId(Long blockId, Integer limit);

    boolean removeByBlockIds(Collection<Long> blockIds);

}
